
#ifndef _IGLSTATES_H_
#define _IGLSTATES_H_

#include <BOpenGL>

namespace BWE
{
	class IGLState
	{
	public:
		IGLState();
		~IGLState();

		void print(const BString& head);
		void save();
		void open();

	private:
		BMatrix				projectionMatrix;
		BMatrix				modelViewMatrix;
		BMatrix				textureMatrix;
		GLint				viewport[4];
		GLint				frameBuffer;
	};
};
#endif